export function testUser(scanResult) {
  const arr = scanResult.split("_");
  const isRootUser = arr[0] === "root";
  if (isRootUser) {
    return {
      flag: true,
      name: arr[1],
    };
  }
  return {
    flag: false,
    name: "",
  };
}
